<%@page import="com.bosch.in.rtp1.ept.constant.CommonConstants"%>
<%@page import="com.bosch.in.rtp1.ept.action.HCFilterCustomizedAction"%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ page import="com.bosch.in.rtp1.ept.constant.HCFilterColumnName;"%>
<link href="css/modifiedJUI.css" type="text/css" rel="stylesheet"></link>
<script type="text/javascript" src="js/holdcodefilter.js"></script>
<table id="s3list"></table>
<div id="prowed3"></div> <br /> 

<script type="text/javascript"> 

populateHoldCodeData(
	{
		colNames:['<%=HCFilterColumnName.ID%>', '<%=HCFilterColumnName.COMMENT%>',
		  		  '<%=HCFilterColumnName.HC1%>','<%=HCFilterColumnName.HC2%>',
		  		  '<%=HCFilterColumnName.HC3%>','<%=HCFilterColumnName.HC4%>',
		  		  '<%=HCFilterColumnName.HC5%>','<%=HCFilterColumnName.HC6%>',
		  		  '<%=HCFilterColumnName.HC7%>','<%=HCFilterColumnName.HC8%>',
		  		  '<%=HCFilterColumnName.HC9%>','<%=HCFilterColumnName.HC10%>',
	   	          '<%=HCFilterColumnName.HC11%>','<%=HCFilterColumnName.HC12%>',
	   	          '<%=HCFilterColumnName.HC13%>','<%=HCFilterColumnName.HC14%>',
	   	          '<%=HCFilterColumnName.HC15%>','<%=HCFilterColumnName.HC16%>',
	   	          '<%=HCFilterColumnName.HC17%>','<%=HCFilterColumnName.HC18%>',
	   	          '<%=HCFilterColumnName.HC19%>','<%=HCFilterColumnName.HC20%>',
	   	          '<%=HCFilterColumnName.ORDER%>','<%=HCFilterColumnName.TYPE%>'
	   	         ],
	   	colModel:[
	   		{name:'<%=HCFilterColumnName.ID%>',index:'<%=HCFilterColumnName.ID%>', width:55, editable:false, sorttable: false,  hidden: true, key: true},
	   		{name:'<%=HCFilterColumnName.COMMENT%>',index:'<%=HCFilterColumnName.COMMENT%>', width: 150, editable:true, sorttable: false, editoptions: { maxlength: 20 }},
	   		{name:'<%=HCFilterColumnName.HC1%>',index:'<%=HCFilterColumnName.HC1%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC2%>',index:'<%=HCFilterColumnName.HC2%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC3%>',index:'<%=HCFilterColumnName.HC3%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},		
	   		{name:'<%=HCFilterColumnName.HC4%>',index:'<%=HCFilterColumnName.HC4%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},		
	   		{name:'<%=HCFilterColumnName.HC5%>',index:'<%=HCFilterColumnName.HC5%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},	
	   		{name:'<%=HCFilterColumnName.HC6%>',index:'<%=HCFilterColumnName.HC6%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC7%>',index:'<%=HCFilterColumnName.HC7%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC8%>',index:'<%=HCFilterColumnName.HC8%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC9%>',index:'<%=HCFilterColumnName.HC9%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC10%>',index:'<%=HCFilterColumnName.HC10%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},	
	   		{name:'<%=HCFilterColumnName.HC11%>',index:'<%=HCFilterColumnName.HC11%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC12%>',index:'<%=HCFilterColumnName.HC12%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC13%>',index:'<%=HCFilterColumnName.HC13%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC14%>',index:'<%=HCFilterColumnName.HC14%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC15%>',index:'<%=HCFilterColumnName.HC15%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC16%>',index:'<%=HCFilterColumnName.HC16%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC17%>',index:'<%=HCFilterColumnName.HC17%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC18%>',index:'<%=HCFilterColumnName.HC18%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC19%>',index:'<%=HCFilterColumnName.HC19%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.HC20%>',index:'<%=HCFilterColumnName.HC20%>', width:80, editable:true, sorttable: false, editoptions: { maxlength: 5 }},
	   		{name:'<%=HCFilterColumnName.ORDER%>',index:'<%=HCFilterColumnName.ORDER%>', width:80, editable:true, sorttable: false,  hidden: true},
	   		{name:'<%=HCFilterColumnName.TYPE_DB%>',index:'<%=HCFilterColumnName.TYPE_DB%>', width:80, editable:false, sorttable: false,  hidden: true}
	   	],
	   	
		title: '<%= request.getAttribute(HCFilterCustomizedAction.TITLE) %>',
		cmd: '<%=request.getAttribute(CommonConstants.COMMAND)%>',
		addButton: <%=request.getAttribute(HCFilterCustomizedAction.ADD_BUTTON)%>,
		deleteButton: <%=request.getAttribute(HCFilterCustomizedAction.DELETE_BUTTON)%>
});

</script>

